package ooday01test;

public class CarsTest {
    public static void main(String[] args) {
        // 创建对象
        Cars cars1=new Cars();
        cars1.brand="原神";
        cars1.color="白";
        cars1.price=0.0;
        cars1.stop();

        Cars cars2=new Cars("鸣朝","红",0.0);
        cars2.start();
        cars2.run();
        cars2.stop();
    }
}
